import request from '@/utils/request'

export function goodsList(data) {
  return request({
    url: '/duzikai_api_mgr_public_goods_info',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data
  })
}

export function goodsListOld(data) {
  return request({
    url: '/mgr_public_goods_info',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data
  })
}

export function goodsKinds(data) {
  return request(({
    url: '/duzikai_api_mgr_public_platform_global',
    method: 'post',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded'
    },
    data
  }))
}
